/**  
 * All rights Reserved, Designed By www.flksh.com
 * @date:   2017-10-30 15:33:40   
 * @Copyright: 2013-2017 www.flksh.com Inc. All rights reserved. 
 * 注意：本内容仅限于上海福乐康社区养老服务有限公司内部传阅，禁止外泄以及用于其他的商业目
 */
package com.zx.cloud.domain;

import java.math.BigDecimal;
import java.time.OffsetDateTime;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.zx.cloud.model.BasicDomain;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zx.cloud.util.converter.jackson.OffsetDateTimeToIso8601Serializer;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 
 * zx_loan_order-借款订单表
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class LoanOrder extends BasicDomain{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 会员主键
	 */
	@ApiModelProperty(value = "会员主键")
	 private Long clientId;
	/**
	 * 借款金额
	 */
	@ApiModelProperty(value = "借款金额")
	 private BigDecimal loanAmount;
	/**
	 * 借款期限
	 */
	@ApiModelProperty(value = "借款期限")
	 private Integer loanTerm;
	/**
	 * 利率
	 */
	@ApiModelProperty(value = "利率")
	 private BigDecimal interestRate;
	/**
	 * 还款利息
	 */
	@ApiModelProperty(value = "还款利息")
	 private BigDecimal repayInterest;
	/**
	 * 额外利息
	 */
	@ApiModelProperty(value = "额外利息")
	 private BigDecimal addInterest;
	/**
	 * 服务费利率
	 */
	@ApiModelProperty(value = "服务费利率")
	 private BigDecimal serviceRate;
	/**
	 * 服务费
	 */
	@ApiModelProperty(value = "服务费")
	 private BigDecimal serviceCharge;
	/**
	 * 费用总和
	 */
	@ApiModelProperty(value = "费用总和")
	 private BigDecimal feeTotal;
	/**
	 * 实际到账金额
	 */
	@ApiModelProperty(value = "实际到账金额")
	 private BigDecimal actualAmount;
	/**
	 * 逾期利率
	 */
	@ApiModelProperty(value = "逾期利率")
	 private BigDecimal overdueRate;
	/**
	 * 0审核中，1审核失败，2审核通过（未放款），3已放款，4已到账
	 */
	@ApiModelProperty(value = "0审核中，1审核失败，2审核通过（未放款），3已放款，4已到账")
	 private Integer status;
	/**
	 * 放款时间
	 */
	@ApiModelProperty(value = "放款时间")
	@JsonSerialize(using = OffsetDateTimeToIso8601Serializer.class)		
	 private OffsetDateTime loanTime;
	/**
	 * 到账时间
	 */
	@ApiModelProperty(value = "到账时间")
	@JsonSerialize(using = OffsetDateTimeToIso8601Serializer.class)		
	 private OffsetDateTime paymentTime;
	/**
	 * 到期时间
	 */
	@ApiModelProperty(value = "到期时间")
	@JsonSerialize(using = OffsetDateTimeToIso8601Serializer.class)		
	 private OffsetDateTime expirationTime;
	/**
	 * 记录生成时间
	 */
	@ApiModelProperty(value = "记录生成时间")
	@JsonSerialize(using = OffsetDateTimeToIso8601Serializer.class)		
	 private OffsetDateTime createTime;
	/**
	 * 最后更新时间
	 */
	@ApiModelProperty(value = "最后更新时间")
	@JsonSerialize(using = OffsetDateTimeToIso8601Serializer.class)		
	 private OffsetDateTime updateTime;
	/**
	 * 备注说明
	 */
	@ApiModelProperty(value = "备注说明")
	 private String remark;
	 
	/**2017-10-30add--start*/
	/**
	 * 手机号码
	 */
	@ApiModelProperty(value = "手机号码")
	 private String phone;
	 public String getPhone() {
	        return this.phone;
	    }
	 public void setPhone(String phone) {
	        this.phone = phone;
	    }
	/**
	 * 真实姓名
	 */
	@ApiModelProperty(value = "真实姓名")
	 private String realName;
	 public String getRealName() {
	        return this.realName;
	    }
	 public void setRealName(String realName) {
	        this.realName = realName;
	    }
		/**
		 * 订单编号
		 */
	@ApiModelProperty(value = "订单编号")
	 private String orderNo;
	 public String getOrderNo() {
			return orderNo;
		}
	 public void setOrderNo(String orderNo) {
			this.orderNo = orderNo;
		}
      /**
       * 活体识别图片
       */
	 @ApiModelProperty(value = "活体识别图片")
	private String livingPic;
	public String getLivingPic() {
		return livingPic;
	}
	public void setLivingPic(String livingPic) {
		this.livingPic = livingPic;
	}
	
	/**
	 * 银行
	 */
	@ApiModelProperty(value = "银行")
	 private String bank;
	/**
	 * 银行卡号
	 */
	@ApiModelProperty(value = "银行卡号")
	 private String cardNo;
	public String getBank() {
        return this.bank;
    }
    public void setBank(String bank) {
        this.bank = bank;
    }
    public String getCardNo() {
        return this.cardNo;
    }
    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }
	/**
	 * 流水号
	 */
	@ApiModelProperty(value = "流水号")
	 private String serialNumber;
	public String getSerialNumber() {
        return this.serialNumber;
    }
    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }
	/**2017-10-30add---end*/
    public LoanOrder(){
    
    }
    
    public Long getClientId() {
        return this.clientId;
    }
    
    public void setClientId(Long clientId) {
        this.clientId = clientId;
    }
    public BigDecimal getLoanAmount() {
        return this.loanAmount;
    }
    
    public void setLoanAmount(BigDecimal loanAmount) {
        this.loanAmount = loanAmount;
    }
    public Integer getLoanTerm() {
        return this.loanTerm;
    }
    
    public void setLoanTerm(Integer loanTerm) {
        this.loanTerm = loanTerm;
    }
    public BigDecimal getInterestRate() {
        return this.interestRate;
    }
    
    public void setInterestRate(BigDecimal interestRate) {
        this.interestRate = interestRate;
    }
    public BigDecimal getRepayInterest() {
        return this.repayInterest;
    }
    
    public void setRepayInterest(BigDecimal repayInterest) {
        this.repayInterest = repayInterest;
    }
    public BigDecimal getAddInterest() {
        return this.addInterest;
    }
    
    public void setAddInterest(BigDecimal addInterest) {
        this.addInterest = addInterest;
    }
    public BigDecimal getServiceRate() {
        return this.serviceRate;
    }
    
    public void setServiceRate(BigDecimal serviceRate) {
        this.serviceRate = serviceRate;
    }
    public BigDecimal getServiceCharge() {
        return this.serviceCharge;
    }
    
    public void setServiceCharge(BigDecimal serviceCharge) {
        this.serviceCharge = serviceCharge;
    }
    public BigDecimal getFeeTotal() {
        return this.feeTotal;
    }
    
    public void setFeeTotal(BigDecimal feeTotal) {
        this.feeTotal = feeTotal;
    }
    public BigDecimal getActualAmount() {
        return this.actualAmount;
    }
    
    public void setActualAmount(BigDecimal actualAmount) {
        this.actualAmount = actualAmount;
    }
    public BigDecimal getOverdueRate() {
        return this.overdueRate;
    }
    
    public void setOverdueRate(BigDecimal overdueRate) {
        this.overdueRate = overdueRate;
    }
    public Integer getStatus() {
        return this.status;
    }
    
    public void setStatus(Integer status) {
        this.status = status;
    }
    public OffsetDateTime getLoanTime() {
        return this.loanTime;
    }
    
    public void setLoanTime(OffsetDateTime loanTime) {
        this.loanTime = loanTime;
    }
    public OffsetDateTime getPaymentTime() {
        return this.paymentTime;
    }
    
    public void setPaymentTime(OffsetDateTime paymentTime) {
        this.paymentTime = paymentTime;
    }
    public OffsetDateTime getExpirationTime() {
        return this.expirationTime;
    }
    
    public void setExpirationTime(OffsetDateTime expirationTime) {
        this.expirationTime = expirationTime;
    }
    public OffsetDateTime getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(OffsetDateTime createTime) {
        this.createTime = createTime;
    }
    public OffsetDateTime getUpdateTime() {
        return this.updateTime;
    }
    
    public void setUpdateTime(OffsetDateTime updateTime) {
        this.updateTime = updateTime;
    }
    public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }
    
}
